home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2000 July / macformat-092.iso / Art•lantis Render 3.5 / Examples / Animations & VR / VR / EXAMPLES WINDOWS / APPART_WIN.IVR next >
Encoding:
Text File  |  1997-10-02  |  1.7 KB  |  75 lines

  1. #VRML V2.0 utf8
  2.  
  3. EXTERNPROTO Vista [
  4.     exposedField    SFString        type
  5.     exposedField    MFNode        texture
  6.     exposedField    MFVec2f        vFov
  7.     exposedField    MFVec2f        hFov
  8.     exposedField    SFVec2f        pitchRange
  9.     exposedField    SFVec2f        yawRange
  10.     exposedField    SFVec2f        zoomRange
  11.     exposedField    MFColor        groundColor
  12.     exposedField    MFFloat        groundRange
  13.     exposedField    MFColor        skyColor
  14.     exposedField    MFFloat        skyRange
  15.  
  16.     eventOut    SFVec2f    clickPt
  17.     eventOut    SFVec2f    overPt
  18.     eventOut    SFBool    isBound
  19.     eventIn    SFBool    set_bind
  20. ] "http://www.livepicture.com/proto/vistaproto15.wrl#Vista"
  21.  
  22. NavigationInfo {
  23.     type "VISTA"
  24.     headlight FALSE
  25. }
  26.  
  27. DEF Node01 Vista {
  28.     type "CYLINDER"
  29.     texture ImageTexture { url "Appartement/Appartement_01.jpg" }
  30.     vFov -0.759218 0.759218
  31.     pitchRange -0.759218 0.759218
  32. }
  33.  
  34. DEF Node02 Vista {
  35.     type "CYLINDER"
  36.     texture ImageTexture { url "Appartement/Appartement_02.jpg" }
  37.     vFov -0.759218 0.759218
  38.     pitchRange -0.759218 0.759218
  39. }
  40.  
  41. DEF Link01_02 Script {
  42.     url "rst:link"
  43.  
  44.     eventIn SFVec2f clickPt
  45.     eventIn SFVec2f overPt
  46.     eventOut SFBool value_changed
  47.  
  48.     field SFBool outValue TRUE
  49.     field SFVec2f xBounds 0.718312 0.790959
  50.     field SFVec2f yBounds 0.312448 0.897191
  51.     field SFString transition "CUT"
  52. }
  53.  
  54. DEF Link02_01 Script {
  55.     url "rst:link"
  56.  
  57.     eventIn SFVec2f clickPt
  58.     eventIn SFVec2f overPt
  59.     eventOut SFBool value_changed
  60.  
  61.     field SFBool outValue TRUE
  62.     field SFVec2f xBounds 0.270445 0.314196
  63.     field SFVec2f yBounds 0.323588 0.862452
  64.     field SFString transition "CUT"
  65. }
  66.  
  67. ROUTE Node01.clickPt TO Link01_02.clickPt
  68. ROUTE Node01.overPt TO Link01_02.overPt
  69. ROUTE Link01_02.value_changed TO Node02.set_bind
  70.  
  71. ROUTE Node02.clickPt TO Link02_01.clickPt
  72. ROUTE Node02.overPt TO Link02_01.overPt
  73. ROUTE Link02_01.value_changed TO Node01.set_bind
  74.  
  75.